Optimal. Leaf size=36 \[ -\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 c f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2736, 2673} \[ -\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 c f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2736
Rubi steps
\begin {align*} \int \frac {\sqrt {c-c \sin (e+f x)}}{(a+a \sin (e+f x))^2} \, dx &=\frac {\int \sec ^4(e+f x) (c-c \sin (e+f x))^{5/2} \, dx}{a^2 c^2}\\ &=-\frac {2 \sec ^3(e+f x) (c-c \sin (e+f x))^{3/2}}{3 a^2 c f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.13, size = 73, normalized size = 2.03 \[ -\frac {2 \sqrt {c-c \sin (e+f x)}}{3 a^2 f \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 46, normalized size = 1.28 \[ -\frac {2 \, \sqrt {-c \sin \left (f x + e\right ) + c}}{3 \, {\left (a^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) + a^{2} f \cos \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.75, size = 49, normalized size = 1.36 \[ \frac {2 c \left (\sin \left (f x +e \right )-1\right )}{3 a^{2} \left (1+\sin \left (f x +e \right )\right ) \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.98, size = 149, normalized size = 4.14 \[ \frac {2 \, {\left (\sqrt {c} + \frac {2 \, \sqrt {c} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {\sqrt {c} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}\right )}}{3 \, {\left (a^{2} + \frac {3 \, a^{2} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {3 \, a^{2} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {a^{2} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}}\right )} f \sqrt {\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 9.35, size = 227, normalized size = 6.31 \[ -\frac {4\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (\sin \left (2\,e+2\,f\,x\right )-4\,{\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2-{\sin \left (e+f\,x\right )}^2\,2{}\mathrm {i}+2+2{}\mathrm {i}\right )}{3\,a^2\,f\,\left (-4\,{\sin \left (e+f\,x\right )}^2+\sin \left (e+f\,x\right )+\sin \left (3\,e+3\,f\,x\right )+4\right )}+\frac {4\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (-{\sin \left (e+f\,x\right )}^2\,4{}\mathrm {i}+\sin \left (e+f\,x\right )\,1{}\mathrm {i}-2\,{\sin \left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2+2\,{\sin \left (\frac {3\,e}{2}+\frac {3\,f\,x}{2}\right )}^2+2\,\sin \left (2\,e+2\,f\,x\right )+\sin \left (3\,e+3\,f\,x\right )\,1{}\mathrm {i}+4{}\mathrm {i}\right )}{3\,a^2\,f\,\left (-8\,{\sin \left (e+f\,x\right )}^2+4\,\sin \left (e+f\,x\right )+2\,{\sin \left (2\,e+2\,f\,x\right )}^2+4\,\sin \left (3\,e+3\,f\,x\right )+8\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\sqrt {- c \sin {\left (e + f x \right )} + c}}{\sin ^{2}{\left (e + f x \right )} + 2 \sin {\left (e + f x \right )} + 1}\, dx}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________